 |
|
Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month,
online, via Jitsi Meet.
|
BLU Speaker: Jon "maddog" Hall
--> -->
<type 'exceptions.ValueError'> | Python 2.7.5: /usr/bin/python Mon Sep 28 02:45:00 2026 |
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
| /srv/www/cgi-bin/calendar in () |
590 print '</html>'
|
591
|
592 if __name__ == '__main__':
|
=> 593 main()
|
594
|
| main = <function main> |
| /srv/www/cgi-bin/calendar in main() |
48 if row_exists(dbh, 'persons', person):
|
49 print_html_header('BLU speaker: %s' % person)
|
=> 50 show_one_speaker(dbh, path_info)
|
51 else:
|
52 print_html_header('Nonexistent BLU speaker')
|
| global show_one_speaker = <function show_one_speaker>, dbh = <connection object at 0x7f9b239ab7f8; dsn: 'dbna...t='localhost' password=xxxxxxxxxxxxx', closed: 0>, global path_info = 'speakers/maddog' |
| /srv/www/cgi-bin/calendar in show_one_speaker(dbh=<connection object at 0x7f9b239ab7f8; dsn: 'dbna...t='localhost' password=xxxxxxxxxxxxx', closed: 0>, path_info='speakers/maddog') |
294 print '<h1>BLU Speaker: %s</h1>' % plain_name
|
295
|
=> 296 show_person(dbh, pers_id)
|
297
|
298 if row['bio']:
|
| global show_person = <function show_person>, dbh = <connection object at 0x7f9b239ab7f8; dsn: 'dbna...t='localhost' password=xxxxxxxxxxxxx', closed: 0>, pers_id = 'maddog' |
| /srv/www/cgi-bin/calendar in show_person(dbh=<connection object at 0x7f9b239ab7f8; dsn: 'dbna...t='localhost' password=xxxxxxxxxxxxx', closed: 0>, pers_id='maddog', show_link=None) |
340 email = 'no-such-user@example.com'
|
341 print '<img src="%s" width=32 height=32 />' % gravatar(email, 32)
|
=> 342 print nicename(row['name'], pers_id, show_link)
|
343 if row['title']: print ', %s' % row['title']
|
344 if row['org_name']:
|
| global nicename = <function nicename>, row = ['Jon "maddog" Hall', None, None, 'Jon "maddog" ...', 'jon.maddog.hall@gmail.com', None, None, None], pers_id = 'maddog', show_link = None |
| /srv/www/cgi-bin/calendar in nicename(name='Jon "maddog" Hall', pers_id='maddog', show_link=None) |
371
|
372 def nicename(name, pers_id=None, show_link=None):
|
=> 373 pre,sur,post = name.split('/')
|
374 name = '%s<strong>%s</strong>%s' % (pre,sur,post)
|
375 link = '<a target="_blank" href="%s/speakers/%s">%s</a>' % (script_name, pers_id, name)
|
| pre undefined, sur undefined, post undefined, name = 'Jon "maddog" Hall', name.split = <built-in method split of str object> |
<type 'exceptions.ValueError'>: need more than 1 value to unpack
args =
('need more than 1 value to unpack',)
message =
'need more than 1 value to unpack'